<#include "../inc/header.ftl" />
<#import "/META-INF/spring.ftl" as spring />
<#import "/META-INF/mspring.ftl" as mspring />
<form id="syslogForm" name="syslogForm" method="post" action="${base}/admin/log/config/save">
	<table class="infotable">
		<tr>
			<td colspan="3" class="partition">系统日志配置</td>
		</tr>
		<tr>
			<td class="fieldlabel" style="width:120px;">是否开启系统日志:</td>
			<td>
				<input type="checkbox" <#if system_log?exists && system_log == "true">checked="checked"</#if> onclick='$("#system_log").val(this.checked);' />
				<input type="hidden" id="system_log" name="system_log" value="${system_log?default("false")}" />
			</td>
			<td class="fieldnotice" style="width:300px;">开启系统日志会对系统性能照成一定影响。</td>
		</tr>
		<tr>
			<td colspan="3" style="text-align:center;"><input type="submit" class="btn" value=" 提 交 " /></td>
		</tr>
	</table>
</form>
<script type="text/javascript">
	$(document).ready(function(){
		//斑马线
		var tables=document.getElementsByTagName("table");
		var b=false;
		for (var j = 0; j < tables.length; j++){
			var cells = tables[j].getElementsByTagName("tr");
			//cells[0].className="color3";
			b=false;
			for (var i = 0; i < cells.length; i++){
				if(b){
					cells[i].className="color2";
					b=false;
				}
				else{
					cells[i].className="color3";
					b=true;
				};
			};
		}
	});
</script>
<#include "../inc/footer.ftl" />